package days.of.evil.util.number;

import java.text.DecimalFormat;

public class DoubleUtil {

	public static String formatDouble(final Double db) {
		String result = null;
		DecimalFormat df = new DecimalFormat("########.00"); 
		result = df.format(db);
		if(result.startsWith(",")) {
			result = "0" + result;
		}
		return result;
	}

}
